\hypertarget{RootFindingBase_8c}{
\subsection{src/RootFindingBase.c File Reference}
\label{RootFindingBase_8c}\index{src/RootFindingBase.c@{src/RootFindingBase.c}}
}
/root-finding/src/RootFindingBase.c 

{\tt \#include \char`\"{}RootFindingBase.h\char`\"{}}\par
{\tt \#include \char`\"{}messages/RootFindingMessages.h\char`\"{}}\par
{\tt \#include $<$stdio.h$>$}\par
{\tt \#include $<$stdlib.h$>$}\par
{\tt \#include $<$math.h$>$}\par
\subsubsection*{Functions}
\begin{CompactItemize}
\item 
\hyperlink{structRootFindingBase}{RootFindingBaseT} $\ast$ \hyperlink{group____roots_gb245c32498c083793bc740a45b118280}{RootFindingBaseCreate} (muParserHandle\_\-t mupObj, \hyperlink{RootFindingCommon_8h_a296fe63994e03408c4ad62794d472e9}{RootFindingDoubleT} $\ast$varPtr)
\begin{CompactList}\small\item\em Cria o objeto \hyperlink{structRootFindingBase}{RootFindingBase}. \item\end{CompactList}\item 
void \hyperlink{group____roots_gafb0a57a39081653e224b3b7e95774f0}{RootFindingBaseReset} (\hyperlink{structRootFindingBase}{RootFindingBaseT} $\ast$rootsObj)
\begin{CompactList}\small\item\em Reinicializa o objeto struct \hyperlink{structRootFindingBase}{RootFindingBase}. \item\end{CompactList}\item 
void \hyperlink{group____roots_gaf5d5b67be8d281fefa22e9e7cb4c24b}{RootFindingBaseDelete} (\hyperlink{structRootFindingBase}{RootFindingBaseT} $\ast$obj)
\begin{CompactList}\small\item\em Apaga o objeto \hyperlink{structRootFindingBase}{RootFindingBase}. \item\end{CompactList}\item 
static \hyperlink{RootFindingCommon_8h_31228d356f5429fa5ba7f206e4dee12f}{RootFindingBoolT} \hyperlink{group____roots_g0a4ce2e4b5aee1fe78afe76b2a2bf71e}{isRangeError} (\hyperlink{structRootFindingBase}{RootFindingBaseT} $\ast$rootsObj)
\begin{CompactList}\small\item\em Verify if errorCode is a RangeError. \item\end{CompactList}\item 
\hyperlink{RootFindingCommon_8h_31228d356f5429fa5ba7f206e4dee12f}{RootFindingBoolT} \hyperlink{group____roots_g66563d156c9a25a8316a9c557e0bf7b8}{RootFindingBaseSetRange} (\hyperlink{structRootFindingBase}{RootFindingBaseT} $\ast$rootsObj, \hyperlink{RootFindingCommon_8h_a296fe63994e03408c4ad62794d472e9}{RootFindingDoubleT} a, \hyperlink{RootFindingCommon_8h_a296fe63994e03408c4ad62794d472e9}{RootFindingDoubleT} b)
\begin{CompactList}\small\item\em Define o intervalo para procura da raiz. \item\end{CompactList}\item 
\hyperlink{RootFindingCommon_8h_a296fe63994e03408c4ad62794d472e9}{RootFindingDoubleT} \hyperlink{group____roots_g5d64bcdb5cde64f2e5c757f74e82d336}{RootFindingBaseEval} (\hyperlink{structRootFindingBase}{RootFindingBaseT} $\ast$rootsObj, \hyperlink{RootFindingCommon_8h_a296fe63994e03408c4ad62794d472e9}{RootFindingDoubleT} value)
\begin{CompactList}\small\item\em Avalia a funcao em um ponto. \item\end{CompactList}\item 
\hyperlink{RootFindingCommon_8h_a296fe63994e03408c4ad62794d472e9}{RootFindingDoubleT} \hyperlink{group____roots_g328a1c4011dcb869d32a8b566d1c4b67}{RootFindingBase2nDiffEval} (\hyperlink{structRootFindingBase}{RootFindingBaseT} $\ast$rootsObj, \hyperlink{RootFindingCommon_8h_a296fe63994e03408c4ad62794d472e9}{RootFindingDoubleT} value)
\begin{CompactList}\small\item\em Avalia a 2a. diferencial da funcao em um ponto. \item\end{CompactList}\item 
\hyperlink{RootFindingCommon_8h_a296fe63994e03408c4ad62794d472e9}{RootFindingDoubleT} \hyperlink{group____roots_g4971f377f5d7fdf4d2a55ed324955f09}{RootFindingBaseDiffEval} (\hyperlink{structRootFindingBase}{RootFindingBaseT} $\ast$rootsObj, \hyperlink{RootFindingCommon_8h_a296fe63994e03408c4ad62794d472e9}{RootFindingDoubleT} value)
\begin{CompactList}\small\item\em Avalia a diferencial da funcao em um ponto. \item\end{CompactList}\item 
int \hyperlink{group____roots_gbcf354e731e02c63652af3a2058e739d}{RootFindingBaseGetErrorCode} (\hyperlink{structRootFindingBase}{RootFindingBaseT} $\ast$rootsObj)
\begin{CompactList}\small\item\em Obtem o codigo de erro. \item\end{CompactList}\item 
int \hyperlink{group____roots_g1712b9a29b6e6b15df2195319d5f5d70}{RootFindingBaseGetStateCode} (\hyperlink{structRootFindingBase}{RootFindingBaseT} $\ast$rootsObj)
\begin{CompactList}\small\item\em Obtem o codigo referente ao estado do objeto. \item\end{CompactList}\item 
const char $\ast$ \hyperlink{group____roots_gcc5a0a8948e4b02a878f8d534c0bc982}{RootFindingBaseGetErrorMessage} (\hyperlink{structRootFindingBase}{RootFindingBaseT} $\ast$rootsObj)
\begin{CompactList}\small\item\em Obtem a mensagem de erro. \item\end{CompactList}\item 
const char $\ast$ \hyperlink{group____roots_ga2434bfeb9592ff54df8601cd1a9a04d}{RootFindingBaseGetStateMessage} (\hyperlink{structRootFindingBase}{RootFindingBaseT} $\ast$rootsObj)
\begin{CompactList}\small\item\em Obtem a mensagem referente ao estado do objeto. \item\end{CompactList}\item 
\hyperlink{RootFindingCommon_8h_31228d356f5429fa5ba7f206e4dee12f}{RootFindingBoolT} \hyperlink{group____roots_gec634820d94c4205729589fc44676b72}{RootFindingBaseHasError} (\hyperlink{structRootFindingBase}{RootFindingBaseT} $\ast$rootsObj)
\begin{CompactList}\small\item\em Verifica se ha erros. \item\end{CompactList}\end{CompactItemize}
\subsubsection*{Variables}
\begin{CompactItemize}
\item 
static char \hyperlink{RootFindingBase_8c_e6f024d5924f8ecf7500cedfab2c0606}{msg} \mbox{[}255\mbox{]}
\end{CompactItemize}


\subsubsection{Detailed Description}
/root-finding/src/RootFindingBase.c 

\begin{Desc}
\item[Date:]25/03/2010 \end{Desc}
\begin{Desc}
\item[Author:]Matheus Neder $<$\href{mailto:matheusneder@gmail.com}{\tt matheusneder@gmail.com}$>$ \end{Desc}


Definition in file \hyperlink{RootFindingBase_8c-source}{RootFindingBase.c}.

\subsubsection{Variable Documentation}
\hypertarget{RootFindingBase_8c_e6f024d5924f8ecf7500cedfab2c0606}{
\index{RootFindingBase.c@{RootFindingBase.c}!msg@{msg}}
\index{msg@{msg}!RootFindingBase.c@{RootFindingBase.c}}
\paragraph[msg]{\setlength{\rightskip}{0pt plus 5cm}char {\bf msg}\mbox{[}255\mbox{]}\hspace{0.3cm}{\tt  \mbox{[}static\mbox{]}}}\hfill}
\label{RootFindingBase_8c_e6f024d5924f8ecf7500cedfab2c0606}




Definition at line 141 of file RootFindingBase.c.

Referenced by RootFindingBaseGetErrorMessage(), RootFindingBaseGetStateMessage(), RootFindingBissecaoGetStateMessage(), RootFindingCordasGetErrorMessage(), RootFindingCordasGetStateMessage(), RootFindingNewtonRhapsonGetErrorMessage(), RootFindingNewtonRhapsonGetStateMessage(), and RootFindingPegasoGetStateMessage().